package server.util;

import java.util.HashMap;
import java.util.Map;

public class Host {

    private String name;

    private String appBase;

    private Map<String, Context> mappedContext = new HashMap<>();

    public Host(String name, String appBase) {
        this.name = name;
        this.appBase = appBase;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppBase() {
        return appBase;
    }

    public void setAppBase(String appBase) {
        this.appBase = appBase;
    }

    public Map<String, Context> getMappedContext() {
        return mappedContext;
    }

    public void setMappedContext(Map<String, Context> mappedContext) {
        this.mappedContext = mappedContext;
    }
}
